package cn.stylefeng.guns.modular.transport.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 地址修改申请表
 * </p>
 *
 * @author zhucx
 * @since 2023-11-21
 */
@Data
@TableName("transport_address_edit")
public class TransportAddressEdit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 调度单号
     */
    @TableField("dispatch_number")
    private String dispatchNumber;

    /**
     * 收货客户id
     */
    @TableField("get_unitid")
    private Long getUnitid;

    /**
     * 收货客户
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 地址
     */
    @TableField("get_location")
    private String getLocation;

    /**
     * 地址id
     */
    @TableField("get_locationid")
    private Long getLocationid;

    /**
     * 经度
     */
    @TableField("longitude")
    private String longitude;

    /**
     * 维度
     */
    @TableField("latitude")
    private String latitude;

    /**
     * 公里数
     */
    @TableField("kilometer")
    private String kilometer;

    /**
     * 车辆id
     */
    @TableField("car_id")
    private Long carId;

    /**
     * 车牌号
     */
    @TableField("carnumber")
    private String carnumber;

    /**
     * 申请人
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 审核人
     */
    @TableField("examine_name")
    private String examineName;

    /**
     * 备注
     */
    @TableField("memo")
    private String memo;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "TransportAddressEdit{" +
        "id=" + id +
        ", state=" + state +
        ", dispatchNumber=" + dispatchNumber +
        ", getUnitid=" + getUnitid +
        ", getUnit=" + getUnit +
        ", getLocation=" + getLocation +
        ", getLocationid=" + getLocationid +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", kilometer=" + kilometer +
        ", carId=" + carId +
        ", carnumber=" + carnumber +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", examineName=" + examineName +
        ", memo=" + memo +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
